
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>LarryCMS后台管理</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<!-- load css -->
<link rel="stylesheet" type="text/css" href="../../files/css/common/layui/css/layui.css"
	media="all">
  <link rel="stylesheet" type="text/css" href="../../files/css/common/global.css"
	media="all">
<link rel="stylesheet" type="text/css" href="../../files/css/adminstyle.css"
	media="all">  
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="../../commom/js/base.js"></script>

 <script type="text/javascript">
 	$(function(){  
 		$.ajax({
 		  async:false,
 		  url:getRootPath()+'module/findMod.action',
 	  	  data:null,
 	  	  type:"post",
 	  	  dataType:'JSON',
 	  	  success:function(msg){ 
				var man  =msg[0];
				$("#uaerName").html("账号名:"+man.manUser);
				var menu = msg[1];
				for (var i = 0; i < menu.length; i++) {
					
					 var datas  ="";
					 var lists = menu[i].list;
					 for (var j = 0; j < lists.length; j++) {
						   
						datas+="<dd>"
							+"<a href='javascript:;' data-url='"+lists[j].url+"'><i class='"+lists[j].strClass+"' data-icon='"+lists[j].icon+"'></i> <span>"+lists[j].name+"</span>"
							+"</a>"
						+"</dd>"; 
					} 
					$("#uls").append("<li class='layui-nav-item'>"
							+"<a href='javascript:;'><i class='"+menu[i].strClass+"'></i>"
							+"<span>"+menu[i].name+"</span>"
							+"<em class='layui-nav-more'></em></a>"
							+"<dl class='layui-nav-child'>"
							+datas
							+"</dl>"
							+"</li>");  
				
				}
			 
 	  	  }
 	  	
 	  })
 	})
 
 
 </script>
</head>
<body>
	<div class="layui-layout layui-layout-admin" id="layui_layout">
		<!-- 顶部区域 -->
		<div class="layui-header header header-demo">
			<div class="layui-main">
				<!-- logo区域 -->
				<div class="admin-logo-box">
					<a class="logo" href="http://www.kuxuebao.net" title="logo">后台管理系统</a>
					<div class="larry-side-menu">
						<i class="fa fa-bars" aria-hidden="true"></i>
					</div>
				</div>
				<!-- 顶级菜单区域 -->
				<div class="layui-larry-menu">
					<ul class="layui-nav clearfix">
						<li class="layui-nav-item layui-this"><a href="javascirpt:;"><i
								class="iconfont icon-wangzhanguanli"></i>内容管理</a></li>
					</ul>
				</div>
				<!-- 右侧导航 -->
				<ul class="layui-nav larry-header-item">
					<li class="layui-nav-item" id="uaerName"></li>
					
					<li class="layui-nav-item"><a href="javascript:;" id="lock">
							<i class="iconfont icon-diannao1"></i> 锁屏
					</a></li>
					<li class="layui-nav-item"><a href="../BackgroundLog.html"> <i
							class="iconfont icon-exit"></i> 退出
					</a></li>
				</ul>
			</div>
		</div>
		<!-- 左侧侧边导航开始 -->
		<div class="layui-side layui-side-bg layui-larry-side" id="larry-side">
			<div class="layui-side-scroll" id="larry-nav-side" lay-filter="side">

				<!-- 左侧菜单 -->
				<ul class="layui-nav layui-nav-tree" id="uls">
					<li class="layui-nav-item layui-this"><a href="javascript:;"
						data-url="main.html"> <i class="iconfont icon-home1"
							data-icon='icon-home1'></i> <span>后台首页</span>
					</a></li>
					<!-- 个人信息 -->
					<li class="layui-nav-item"><a href="javascript:;"> <i
							class="iconfont icon-jiaoseguanli"></i> <span>我的面板</span> <em
							class="layui-nav-more"></em>
					</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" data-url="<%=basePath%>pages/backstage/person.jsp"> <i
									class="iconfont icon-geren1" data-icon='icon-geren1'></i> <span>个人信息</span>
								</a>
							</dd>
							<dd>
								<a href="javascript:;" data-url="<%=basePath%>pages/backstage/updatePwd.jsp"> <i
									class="iconfont icon-iconfuzhi01" data-icon='icon-iconfuzhi01'></i>
									<span>修改密码</span>
								</a>
							</dd>
						</dl></li>
					 
						
					</ul>
			</div>
		</div>

		<!-- 左侧侧边导航结束 -->
		<!-- 右侧主体内容 -->
		<div class="layui-body" id="larry-body"
			style="bottom: 0; border-left: solid 2px #2299ee;">
			<div class="layui-tab layui-tab-card larry-tab-box" id="larry-tab"
				lay-filter="demo" lay-allowclose="true">
				<div class="go-left key-press pressKey" id="titleLeft"
					title="滚动至最右侧">
					<i class="larry-icon larry-weibiaoti6-copy"></i>
				</div>
				<ul class="layui-tab-title">
					<li class="layui-this" id="admin-home"><i
						class="iconfont icon-diannao1"></i><em>后台首页</em></li>
				</ul>
				<div class="go-right key-press pressKey" id="titleRight"
					title="滚动至最左侧">
					<i class="larry-icon larry-right"></i>
				</div>
				
				<div class="layui-tab-content" style="min-height: 550px; ">
					<div class="layui-tab-item layui-show" style="height: 550px;">
						<iframe class="larry-iframe"  id="demoAdmin" data-id='0' src="main.html"></iframe>
					</div>
				</div>
			</div>
		</div>
		
	</div>
	<!-- 加载js文件--> 
	<script type="text/javascript" src="../../files/js/layui.js"></script> 
	<script type="text/javascript" src="../../files/js/larry.js"></script>
	<script type="text/javascript" src="../../files/js/index.js"></script>  
	<!-- 锁屏 -->
	<div class="lock-screen" style="display: none;">
		<div id="locker" class="lock-wrapper">
			<div id="time"></div>
			<div class="lock-box center">
				<img src="../../images/userimg.jpg" alt="">
				<h1>admin</h1>
				<duv class="form-group col-lg-12"> <input type="password"
					placeholder='锁屏状态，请输入密码解锁' id="lock_password"
					class="form-control lock-input" autofocus name="lock_password">
				<button id="unlock" class="btn btn-lock">解锁</button>
				</duv>
			</div>
		</div>
	</div>
	
	 
</body>
</html>